package edu.zut.hb.ambition.hospitalization;

import java.util.List;
import com.ruoyi.system.domain.Hospitalization;

/**
 * 住院登记Service接口
 * 
 * @author ruoyi
 * @date 2022-06-08
 */
public interface IHospitalizationService 
{
    /**
     * 查询住院登记
     * 
     * @param zhuyuanid 住院登记主键
     * @return 住院登记
     */
    public Hospitalization selectHospitalizationByZhuyuanid(Long zhuyuanid);

    /**
     * 查询住院登记列表
     * 
     * @param hospitalization 住院登记
     * @return 住院登记集合
     */
    public List<Hospitalization> selectHospitalizationList(Hospitalization hospitalization);

    /**
     * 新增住院登记
     * 
     * @param hospitalization 住院登记
     * @return 结果
     */
    public int insertHospitalization(Hospitalization hospitalization);

    /**
     * 修改住院登记
     * 
     * @param hospitalization 住院登记
     * @return 结果
     */
    public int updateHospitalization(Hospitalization hospitalization);

    /**
     * 批量删除住院登记
     * 
     * @param zhuyuanids 需要删除的住院登记主键集合
     * @return 结果
     */
    public int deleteHospitalizationByZhuyuanids(Long[] zhuyuanids);

    /**
     * 删除住院登记信息
     * 
     * @param zhuyuanid 住院登记主键
     * @return 结果
     */
    public int deleteHospitalizationByZhuyuanid(Long zhuyuanid);
}
